package com.example.wan_android.adapter

import com.example.wan_android.BR
import com.example.wan_android.R
import com.example.wan_android.databinding.AdapterSearchHistoryBinding
import com.example.wan_android.db.SearchHistoryTable
import com.example.wan_android.viewmodel.SearchViewModel

class SearchHistoryAdapter(vm: SearchViewModel) :
    CoreAdapter<AdapterSearchHistoryBinding, SearchViewModel, SearchHistoryTable>(
        BR.data,
        BR.viewModel,
        vm
    ) {
    override fun getItemLayoutId(viewType: Int): Int {
        return R.layout.adapter_search_history
    }
}